Custom media overlay system

ABSTRACT

Systems and methods are provided for receiving a request to generate a media overlay corresponding to a home of a first user, and for generating the media overlay corresponding to the home of the first user using media content received in the request. The systems and methods further provide for associating, with the media overlay, a location of the home of the first user and a selection of users to grant permission to access the media overlay corresponding to the home of the first user. The systems and methods further provide for determining whether a second user and a location corresponding to the second computing device trigger access to the media overlay and providing the media overlay to the second computing device, based on determining that the second user and location corresponding to the second computing device trigger access to the media overlay.

CLAIM OF PRIORITY

This application is a continuation of U.S. patent application Ser. No.17/069,108, filed on Oct. 13, 2020, which is a continuation of U.S.patent application Ser. No. 16/798,111, filed on Feb. 21, 2020, nowissued as U.S. Pat. No. 10,838,599, which claims the benefit of priorityto U.S. Provisional Application Ser. No. 62/810,085, filed on Feb. 25,2019, each of which are hereby incorporated by reference herein in theirentireties.

BACKGROUND

A content sharing platform may receive millions of messages from usersdesiring to share media content such as audio, images, and video betweenuser devices (e.g., mobile devices, personal computers, etc.). The mediacontent of these messages may be associated with a common geolocation, acommon time period, a common event, and so forth. Often, a user sendsmessages to users in his or her social network and can view profile datafor users only in his or her social network.

BRIEF DESCRIPTION OF THE DRAWINGS

Various ones of the appended drawings merely illustrate exampleembodiments of the present disclosure and should not be considered aslimiting its scope.

FIG. 1 is a block diagram showing an example networked system forexchanging data (e.g., messages and associated content) over a network,according to some example embodiments.

FIG. 2 is a block diagram illustrating further details regarding themessaging system, according to some example embodiments.

FIG. 3 is a schematic diagram illustrating data which may be stored in adatabase of a messaging server system, according to some exampleembodiments.

FIG. 4 is a schematic diagram illustrating a structure of a message,according to some embodiments, generated by a messaging clientapplication for communication.

FIG. 5 is a flow chart illustrating aspects of a method, according tosome example embodiments.

FIGS. 6-14 illustrate example graphical user interfaces, according tosome example embodiments.

FIG. 15 is a flow chart illustrating aspects of a method, according tosome example embodiments.

FIG. 16 illustrates an example graphical user interface, according tosome example embodiments.

FIG. 17 is a block diagram illustrating an example of a softwarearchitecture that may be installed on a machine, according to someexample embodiments.

FIG. 18 illustrates a diagrammatic representation of a machine, in theform of a computer system, within which a set of instructions may beexecuted for causing the machine to perform any one or more of themethodologies discussed herein, according to an example embodiment.

DETAILED DESCRIPTION

Systems and methods described herein relate to a custom media overlaysystem. For example, example embodiments allow a user to create a custommedia overlay for his or her home that can be used by designated friends(e.g., to augment images or videos captured by the friends) when theyare visiting the user's home. The custom media overlay is customizablewith templates and creative tools and can be updated as often as theuser wants. In some examples, templates, stickers, and other creativecontent can be updated seasonally (e.g., snowy home illustrations inwinter, sunny themes in the summer, American flags on the lawn in July,etc.). Users can also use the custom media overlay for one-off eventsthey host like a party or game night. Since a home is a private space,designated users that have permission to access such custom mediaoverlays can be limited to users (e.g., friends) that have abi-directional connection with the first user in a social networkingsystem.

For example, a server system (e.g., a server system in a messagingsystem) receives a request to generate a media overlay corresponding toa home of a first user. The request may comprise media content to beincluded in a custom media overlay. For example, the media content mayinclude creative content that will be included in the custom mediaoverlay corresponding to the home of the first user. The server systemgenerates the media overlay, using the received content, and associatesa location of the home of the first user and a selection of users togrant permission to access the custom media overlay, with the custommedia overlay. The server system stores the custom media overlay andallows it to be accessed by the selection of users when they are locatedin or near the home of the first user.

For example, the server system receives location informationcorresponding to a second computing device, determines a second usercorresponding to the second computing device, and determines whether thesecond user and the location information of the second computing devicetrigger access to the stored custom media overlay. If so, the serversystem provides the custom media overlay to the second computing device.The second user can then use the custom media overlay to augment imagesor video captured in the first user's home and send the augmented imagesor video to other users.

FIG. 1 is a block diagram illustrating a networked system 100 (e.g., acontent sharing platform or messaging system) for exchanging data (e.g.,messages and associated content) over a network. The networked system100 includes multiple client devices 110, each of which hosts a numberof client applications 114. Each client application 114 iscommunicatively coupled to other instances of the client application 114and a server system 108 via a network 104.

The client device 110 may comprise, but is not limited to, a mobilephone, desktop computer, laptop, portable digital assistant (PDA), smartphone, tablet, ultrabook, netbook, laptop, multi-processor system,microprocessor-based or programmable consumer electronic system, gameconsole, set-top box, computer in a vehicle, wearable device, or anyother communication device that a user may utilize to access thenetworked system 100. In some embodiments, the client device 110 maycomprise a display module (not shown) to display information (e.g., inthe form of user interfaces). In further embodiments, the client device110 may comprise one or more of touch screens, accelerometers,gyroscopes, cameras, microphones, Global Positioning System (GPS)devices, and so forth.

The client device 110 may be a device of a user that is used to createmedia content items such as video, images (e.g., photographs), audio,and media overlays and to send and receive messages containing suchmedia content items, text, media overlays, and so forth, to and fromother users. The client device 110 may be a device of a user that isused to create and edit media overlays, view and generate interactivemessages, view other users on a map, and so forth.

One or more users may be a person, a machine, or other means ofinteracting with the client device 110. In example embodiments, the usermay not be part of the system 100 but may interact with the system 100via the client device 110 or other means. For instance, the user mayprovide input (e.g., touch screen input or alphanumeric input) to theclient device 110, and the input may be communicated to other entitiesin the system 100 (e.g., third-party servers, the server system 108,etc.) via the network 104. In this instance, the other entities in thesystem 100, in response to receiving the input from the user, maycommunicate information to the client device 110 via the network 104 tobe presented to the user. In this way, the user may interact with thevarious entities in the system 100 using the client device 110.

The system 100 may further include the network 104. One or more portionsof the network 104 may be an ad hoc network, an intranet, an extranet, avirtual private network (VPN), a local area network (LAN), a wirelessLAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), ametropolitan area network (MAN), a portion of the Internet, a portion ofthe public switched telephone network (PSTN), a cellular telephonenetwork, a wireless network, a WI-FI network, a WiMax network, anothertype of network, or a combination of two or more such networks.

The client device 110 may access the various data and applicationsprovided by other entities in the system 100 via a web client (e.g., abrowser, such as the Internet Explorer® browser developed by Microsoft®Corporation of Redmond, Wash. State) or one or more client applications114. The client device 110 may include one or more client applications114 (also referred to as “apps”) such as, but not limited to, a webbrowser, a messaging application, an electronic mail (email)application, an e-commerce site application, a mapping or locationapplication, a media overlay application, an interactive messagingapplication, and the like.

In some embodiments, one or more client applications 114 may be includedin a given one of the client devices 110, and configured to locallyprovide a user interface and at least some of the functionalities of theapplication, with the client application 114 configured to communicatewith other entities in the system 100 (e.g., third-party servers, theserver system 108, etc.), on an as-needed basis, for data and/orprocessing capabilities not locally available (e.g., to process userqueries, to authenticate a user, to verify a method of payment, etc.).Conversely, one or more client applications 114 may not be included inthe client device 110, and then the client device 110 may use its webbrowser to access the one or more applications hosted on other entitiesin the system 100 (e.g., third-party servers, the server system 108,etc.).

In one example, a client application 114 may be a messaging applicationthat allows a user to take a photograph or video, add a caption orotherwise edit the photograph or video, and then send the photograph orvideo to another user. In one example, the message may be ephemeral andbe removed from a receiving user device after viewing or after apredetermined amount of time (e.g., 10 seconds, 24 hours, etc.). Anephemeral message refers to a message that is accessible for atime-limited duration. An ephemeral message may be a text, an image, avideo, and other such content that may be stitched or joined together inaccordance with embodiments described herein. The access time for theephemeral message may be set by the message sender. Alternatively, theaccess time may be a default setting or a setting specified by therecipient. Regardless of the setting technique, the message istransitory.

The messaging application may further allow a user to create a galleryor message collection. A gallery may be a collection of photos andvideos which may be viewed by other users “following” the user's gallery(e.g., subscribed to view and receive updates in the user's gallery). Inone example, the gallery may also be ephemeral (e.g., lasting 24 hours,lasting for a duration of an event (e.g., during a music concert,sporting event, etc.), or lasting another predetermined time).

An ephemeral message may be associated with a message durationparameter, the value of which determines an amount of time that theephemeral message will be displayed to a receiving user of the ephemeralmessage by the client application 114. The ephemeral message may befurther associated with a message receiver identifier and a messagetimer. The message timer may be responsible for determining the amountof time the ephemeral message is shown to a particular receiving useridentified by the message receiver identifier. For example, theephemeral message may only be shown to the relevant receiving user for atime period determined by the value of the message duration parameter.

In another example, the messaging application may allow a user to storephotographs and videos and create a gallery that is not ephemeral andthat can be sent to other users. For example, a user may assemblephotographs and videos from a recent vacation to share with friends andfamily.

In another example, the messaging application may allow a first user tocreate a media overlay corresponding to a home of the first user. Themedia overlay is associated with a location of the home of the firstuser and a selection of users to grant permission to access the mediaoverlay. When a second user, who has permission to access the mediaoverlay corresponding to the home of the first user, is in the home ofthe first user, the second user can access the media overlay to augmentimages (e.g., photographs) or video captured by a computing device ofthe second user. The second user can send the images or video augmentedby the media overlay to one or more other users.

The server system 108 may provide server-side functionality via thenetwork 104 (e.g., the Internet or a wide area network (WAN)) to one ormore client devices 110 and/or one or more third-party servers (notshown). The server system 108 may include an application programminginterface (API) server 102, an application server 112, a messagingapplication server 116, a media content processing system 118, and asocial network system 122, which may be communicatively coupled witheach other and with one or more data storages, such as one or moredatabases 120.

The server system 108 may be a cloud computing environment, according tosome example embodiments. The server system 108, and any serversassociated with the server system 108, may be associated with acloud-based application, in one example embodiment.

The one or more databases 120 may be storage devices that storeinformation such as untreated media content, original media content fromusers (e.g., high-quality media content), processed media content (e.g.,media content that is formatted for sharing with client devices 110 andviewing on client devices 110), context data related to a media contentitem, context data related to a user device (e.g., a computing or clientdevice 110), media overlays, media overlay smart widgets or smartelements, user data, user device information, media content (e.g., videoand images), media content data (e.g., data associated with video andimages), computing device context data, serialized data, session dataitems, user device location data, mapping information, chance mode data,interactive message usage data, interactive message metrics data, and soforth. The one or more databases 120 may further store informationrelated to third-party servers, third-party applications, client devices110, client applications 114, users, and so forth.

The one or more databases 120 may include cloud-based storage externalto the server system 108 (e.g., hosted by one or more third-partyentities external to the server system 108). While the storage devicesare shown as database(s) 120, it is to be understood that the system 100may access and store data in storage devices such as databases 120, blobstorages, and other types of storage methods.

The system 100 may further include one or more third-party servers (notshown). The one or more third-party servers may include one or morethird-party applications. The one or more third-party applications,executing on the third-party server(s), may interact with the serversystem 108 via the API server 102 via a programmatic interface providedby the API server 102. For example, one or more of the third-partyapplications may request and utilize information from the server system108 via the API server 102 to support one or more features or functionson a website hosted by a third party or an application hosted by thethird party. The third-party website or application, for example, mayprovide functionality that is supported by relevant functionality anddata in the server system 108.

Accordingly, each client application 114 is able to communicate andexchange data with other client applications 114 and with the serversystem 108 via the network 104. The data exchanged between clientapplications 114, and between a client application 114 and the serversystem 108, includes functions (e.g., commands to invoke functions) aswell as payload data (e.g., text, audio, video, or other multimediadata).

The server system 108 provides server-side functionality via the network104 to a particular client application 114. While certain functions ofthe system 100 are described herein as being performed either by aclient application 114 or by the server system 108, it will beappreciated that the location of certain functionality either within theclient application 114 or within the server system 108 is a designchoice. For example, it may be technically preferable to initiallydeploy certain technology and functionality within the server system108, but to later migrate this technology and functionality to theclient application 114 where a client device 110 has a sufficientprocessing capacity.

The server system 108 supports various services and operations that areprovided to the client application 114. Such operations includetransmitting data to, receiving data from, and processing data generatedby the client application 114. This data may include message content,client device information, geolocation information, media annotation andoverlays, message content persistence conditions, social networkinformation, live event information, date and time stamps, media content(e.g., video and images), media content data (e.g., data associated withvideo and images), interactive message usage data, and chance mode data,as examples. Data exchanges within the networked system 100 are invokedand controlled through functions available via user interfaces (UIs) ofthe client application 114.

In the server system 108, the API server 102 is coupled to, and providesa programmatic interface to, the application server 112. The applicationserver 112 is communicatively coupled to a database server 124, whichfacilitates access to the one or more databases 120 in which is storeddata associated with messages processed by the application server 112.

The API server 102 receives and transmits message data (e.g., commandsand message payloads) between the client device 110 and the applicationserver 112. Specifically, the API server 102 provides a set ofinterfaces (e.g., routines and protocols) that can be called or queriedby the client application 114 in order to invoke functionality of theapplication server 112. The API server 102 exposes various functionssupported by the application server 112, including account registration;login functionality; the sending of messages, via the application server112, from a particular client application 114 to another clientapplication 114; the sending of media files (e.g., images or video) froma client application 114 to the messaging application server 116, forpossible access by another client application 114; the setting of acollection of media data (e.g., a gallery, story, message collection, ormedia collection); the retrieval of such collections; the retrieval of alist of friends of a user of a client device 110; the retrieval ofmessages and content; the adding of friends to and deletion of friendsfrom a social graph; the location of friends within a social graph;opening an application event (e.g., relating to the client application114); mapping data; the creation and generation of a media overlay, andso forth.

The application server 112 hosts a number of applications andsubsystems, including the messaging application server 116, the mediacontent processing system 118, and the social network system 122. Themessaging application server 116 implements a number of messageprocessing technologies and functions, particularly related to theaggregation and other processing of content (e.g., textual andmultimedia content) included in messages received from multipleinstances of the client application 114. The text and media content frommultiple sources may be aggregated into collections of content (e.g.,called stories, galleries, or media collections). These collections arethen made available, by the messaging application server 116, to theclient application 114. Other processor- and memory-intensive processingof data may also be performed server-side by the messaging applicationserver 116, in view of the hardware requirements for such processing.

The application server 112 also includes the media content processingsystem 118, which is dedicated to performing various media contentprocessing operations, typically with respect to images or videoreceived within the payload of a message at the messaging applicationserver 116. The media content processing system 118 may access one ormore data storages (e.g., the database(s) 120) to retrieve stored datato use in processing media content and to store results of processedmedia content.

The social network system 122 supports various social networkingfunctions and services, and makes these functions and services availableto the messaging application server 116. To this end, the social networksystem 122 maintains and accesses an entity graph 304 (depicted in FIG.3 ) within the database(s) 120. Examples of functions and servicessupported by the social network system 122 include the identification ofother users of the networked system 100 with whom a particular user hasrelationships or whom the particular user is “following,” and also theidentification of other entities and interests of a particular user. Thesocial network system 122 also maintains chance mode geofences andindexes of user locations related to chance mode.

The messaging application server 116 may be responsible for generationand delivery of messages between users of client devices 110. Themessaging application server 116 may utilize any one of a number ofmessage delivery networks and platforms to deliver messages to users.For example, the messaging application server 116 may deliver messagesusing electronic mail (email), instant messaging (IM), Short MessageService (SMS), text, facsimile, or voice (e.g., Voice over IP (VoIP))messages via wired networks (e.g., the Internet), plain old telephoneservice (POTS), or wireless networks (e.g., mobile, cellular, WIFI, LongTerm Evolution (LTE), or Bluetooth).

FIG. 2 is a block diagram 200 illustrating further details regarding thesystem 100, according to example embodiments. Specifically, the system200 is shown to comprise the messaging client application 114 and theapplication server 112, which in turn embody a number of subsystems,namely an ephemeral timer system 202, a collection management system204, and an annotation system 206.

The ephemeral timer system 202 is responsible for enforcing thetemporary access to content permitted by the messaging clientapplication 114 and the messaging application server 116. To this end,the ephemeral timer system 202 incorporates a number of timers that,based on duration and display parameters associated with a message, acollection of messages (e.g., otherwise referred to herein as “mediacollections,” “galleries,” “message collections,” “stories,” and thelike), or a chat in chance mode, selectively display and enable accessto messages and associated content via the messaging client application114.

The collection management system 204 is responsible for managingcollections of media (e.g., collections of text, image, video, and audiodata). In some examples, a collection of content (e.g., messages,including images, video, text, and audio) may be organized into an“event gallery” or an “event story.” Such a collection may be madeavailable for a specified time period, such as the duration of an eventto which the content relates. For example, content relating to a musicconcert may be made available as a “story” for the duration of thatmusic concert. The collection management system 204 may also beresponsible for publishing an icon that provides notification of theexistence of a particular collection to the user interface of themessaging client application 114.

The collection management system 204 furthermore includes a curationinterface 208 that allows a collection manager to manage and curate aparticular collection of content. For example, the curation interface208 enables an event organizer to curate a collection of contentrelating to a specific event (e.g., delete inappropriate content orredundant messages). Additionally, the collection management system 204employs machine vision (or image recognition technology) and contentrules to automatically curate a content collection. In certainembodiments, compensation (e.g., money, non-money credits or pointsassociated with the messaging system or a third-party reward system,travel miles, access to artwork or specialized lenses, etc.) may be paidto a user for inclusion of user-generated content into a collection. Insuch cases, the curation interface 208 operates to automatically makepayments to such users for the use of their content.

The annotation system 206 provides various functions that enable a userto annotate or otherwise modify or edit media content associated with amessage. For example, the annotation system 206 provides functionsrelated to the generation and publishing of media overlays for messagesprocessed by the networked system 100. In one example, the annotationsystem 206 operatively supplies a media overlay (e.g., a filter or mediaaugmentation) to the messaging client application 114 based on ageolocation of the client device 110. In another example, the annotationsystem 206 operatively supplies a media overlay to the messaging clientapplication 114 based on other information, such as social networkinformation of the user of the client device 110. A media overlay mayinclude audio and visual content and visual effects. Examples of audioand visual content include pictures, texts, logos, animations, and soundeffects. An example of a visual effect includes color overlaying. Theaudio and visual content or the visual effects can be applied to a mediacontent item (e.g., a photo) at the client device 110. For example, themedia overlay includes text that can be overlaid on top of a photographtaken by the client device 110. In another example, the media overlayincludes an identification of a location overlay (e.g., Venice Beach), aname of a live event, a name of a merchant overlay (e.g., Beach CoffeeHouse), or of a home of a user. In another example, the annotationsystem 206 uses the geolocation of the client device 110 to identify amedia overlay that includes the name of a merchant at the geolocation ofthe client device 110. The media overlay may include other indiciaassociated with the merchant. The media overlays may be stored in thedatabase(s) 120 and accessed through the database server 124.

The annotation system 206 may further enable a user to interact with aninteractive message, such as by adding one or more media content itemsto the interactive message, as described in further detail below. In oneexample embodiment, the annotation system 206 provides a publicationplatform that allows a user or merchant to create an interactive messagewith a plurality of objects associated with the interactive message forwhich users may add personal content. For example, a designer may createa video of a rock band with various interactive objects for differentmembers of the band (a drummer, a keyboard player, a guitarist, etc.).The video of the rock band may be made available to users as aninteractive message.

In one example embodiment, the annotation system 206 provides auser-based publication platform that enables users to select ageolocation on a map, and upload content associated with the selectedgeolocation. The user may also specify circumstances under which aparticular media overlay is to be offered to other users. The annotationsystem 206 generates a media overlay that includes the uploaded contentand associates the uploaded content with the selected geolocation.

In another example embodiment, the annotation system 206 provides amerchant-based publication platform that enables merchants to select aparticular media overlay associated with a geolocation via a biddingprocess. For example, the annotation system 206 associates the mediaoverlay of a highest-bidding merchant with a corresponding geolocationfor a predefined amount of time.

FIG. 3 is a schematic diagram 300 illustrating data which may be storedin the database(s) 120 of the server system 108, according to certainexample embodiments. While the content of the database(s) 120 is shownto comprise a number of tables, it will be appreciated that the datacould be stored in other types of data structures (e.g., as anobject-oriented database).

The database 120 includes message data stored within a message table314. An entity table 302 stores entity data, including an entity graph304. Entities for which records are maintained within the entity table302 may include individuals, corporate entities, organizations, objects,places, events, and so forth. Regardless of type, any entity regardingwhich the server system 108 stores data may be a recognized entity. Eachentity is provided with a unique identifier, as well as an entity typeidentifier (not shown).

The entity graph 304 furthermore stores information regardingrelationships and associations between entities. Such relationships maybe social, professional (e.g., work at a common corporation ororganization), interested-based, or activity-based, merely for example.

The database 120 also stores annotation data, in the example form ofmedia overlays or filters, in an annotation table 312. Annotation datamay also be referred to herein as “creative tools” or “interactivefeatures.” Annotation data may comprise predefined interactive messagesto be provided to users.

Media overlays or filters, for which data is stored within theannotation table 312, are associated with and applied to videos (forwhich data is stored in a video table 310) and/or images (for which datais stored in an image table 308). Filters, in one example, are overlaysthat are displayed as overlaid on an image or video during presentationto a recipient user. Filters may be of various types, includinguser-selected filters from a gallery of filters presented to a sendinguser by the messaging client application 114 when the sending user iscomposing a message. Other types of filters include geolocation filters(also known as “geo-filters”), which may be presented to a sending userbased on geographic location. For example, geolocation filters specificto a neighborhood or special location may be presented within a userinterface by the messaging client application 114, based on geolocationinformation determined by a GPS unit of the client device 110. Anothertype of filter is a data filter, which may be selectively presented to asending user by the messaging client application 114, based on otherinputs or information gathered by the client device 110 during themessage creation process. Examples of data filters include a currenttemperature at a specific location, a current speed at which a sendinguser is traveling, a battery life for a client device 110, or thecurrent time.

Other annotation data that may be stored within the annotation table 312is so-called “lens” data. A “lens” may be a real-time special effect andsound that may be added to an image or a video.

As mentioned above, the video table 310 stores video data which, in oneembodiment, is associated with messages for which records are maintainedwithin the message table 314. Similarly, the image table 308 storesimage data associated with messages for which message data is stored inthe message table 314. The entity table 302 may associate variousannotations from the annotation table 312 with various images and videosstored in the image table 308 and the video table 310.

A story table 306 stores data regarding collections of messages andassociated image, video, or audio data, which are compiled into acollection (e.g., a story, gallery, or media collection). The creationof a particular collection may be initiated by a particular user (e.g.,any user for whom a record is maintained in the entity table 302). Auser may create a “personal story” in the form of a collection ofcontent that has been created and sent/broadcast by that user. To thisend, the user interface of the messaging client application 114 mayinclude an icon that is user-selectable to enable a sending user to addspecific content to his or her personal story.

A media or message collection may also constitute a “live story,” whichis a collection of content from multiple users that is created manually,automatically, or using a combination of manual and automatictechniques. For example, a “live story” may constitute a curated streamof user-submitted content from various locations and events. Users whoseclient devices 110 have location services enabled and are at a commonevent location at a particular time may, for example, be presented withan option, via a user interface of the messaging client application 114,to contribute content to a particular live story. The live story may beidentified to the user by the messaging client application 114, based onhis or her location. The end result is a “live story” told from acommunity perspective.

A further type of content collection is known as a “location story,”which enables a user whose client device 110 is located within aspecific geographic location (e.g., on a college or university campus)to contribute to a particular collection. In some embodiments, acontribution to a location story may require a second degree ofauthentication to verify that the end user belongs to a specificorganization or other entity (e.g., is a student on the universitycampus).

FIG. 4 is a schematic diagram illustrating a structure of a message 400,according to some embodiments, generated by a client application 114 forcommunication to a further client application 114 or the messagingapplication server 116. The content of a particular message 400 is usedto populate the message table 314 stored within the database(s) 120,accessible by the messaging application server 116. Similarly, thecontent of a message 400 is stored in memory as “in-transit” or“in-flight” data of the client device 110 or the application server 112.The message 400 is shown to include the following components:

-   -   A message identifier 402: a unique identifier that identifies        the message 400.    -   A message text payload 404: text, to be generated by a user via        a user interface of the client device 110 and that is included        in the message 400.    -   A message image payload 406: image data, captured by a camera        component of a client device 110 or retrieved from memory of a        client device 110, and that is included in the message 400.    -   A message video payload 408: video data, captured by a camera        component or retrieved from a memory component of the client        device 110 and that is included in the message 400.    -   A message audio payload 410: audio data, captured by a        microphone or retrieved from the memory component of the client        device 110, and that is included in the message 400.    -   Message annotations 412: annotation data (e.g., media overlays        such as filters, stickers, or other enhancements) that        represents annotations to be applied to the message image        payload 406, message video payload 408, or message audio payload        410 of the message 400.    -   A message duration parameter 414: a parameter value indicating,        in seconds, the amount of time for which content of the message        400 (e.g., the message image payload 406, message video payload        408, and message audio payload 410) is to be presented or made        accessible to a user via the messaging client application 114.    -   A message geolocation parameter 416: geolocation data (e.g.,        latitudinal and longitudinal coordinates) associated with the        content payload of the message 400. Multiple message geolocation        parameter 416 values may be included in the payload, each of        these parameter values being associated with respective content        items included in the content (e.g., a specific image within the        message image payload 406, or a specific video in the message        video payload 408).    -   A message story identifier 418: identifier values identifying        one or more content collections (e.g., “stories”) with which a        particular content item in the message image payload 406 of the        message 400 is associated. For example, multiple images within        the message image payload 406 may each be associated with        multiple content collections using identifier values.    -   A message tag 420: each message 400 may be tagged with multiple        tags, each of which is indicative of the subject matter of        content included in the message payload. For example, where a        particular image included in the message image payload 406        depicts an animal (e.g., a lion), a tag value may be included        within the message tag 420 that is indicative of the relevant        animal. Tag values may be generated manually, based on user        input, or may be automatically generated using, for example,        image recognition.    -   A message sender identifier 422: an identifier (e.g., a        messaging system identifier, email address, or device        identifier) indicative of a user of the client device 110 on        which the message 400 was generated and from which the message        400 was sent.    -   A message receiver identifier 424: an identifier (e.g., a        messaging system identifier, email address, or device        identifier) indicative of a user of the client device 110 to        which the message 400 is addressed.

The contents (e.g., values) of the various components of the message 400may be pointers to locations in tables within which content data valuesare stored. For example, an image value in the message image payload 406may be a pointer to (or address of) a location within an image table308. Similarly, values within the message video payload 408 may point todata stored within a video table 310, values stored within the messageannotations 412 may point to data stored in an annotation table 312,values stored within the message story identifier 418 may point to datastored in a story table 306, and values stored within the message senderidentifier 422 and the message receiver identifier 424 may point to userrecords stored within an entity table 302.

FIG. 5 is a flow chart illustrating aspects of a method 500, for acustom media overlay system, according to some example embodiments. Forillustrative purposes, the method 500 is described with respect to thenetworked system 100 of FIG. 1 . It is to be understood that the method500 may be practiced with other system configurations in otherembodiments.

In operation 502, a server system (e.g., server system 108, applicationserver 112, media content processing system 118, etc.) receives, from afirst computing device, a request to generate a media overlaycorresponding to a home of a first user (also referred to herein as a“home media overlay” or a “custom media overlay”). In one example, therequest comprises media content to be included in the media overlay. Forexample, media content may comprise a creative with graphics related tothe home of the first user, a bitmoji or avatar corresponding to theuser, a bitmoji or avatar corresponding to another user currentlylocated in the home of the first user, a graphic corresponding to a petof the first user, and so forth.

For example, the first user may be using a messaging application on afirst computing device and may wish to create a media overlay for hishome so that whenever any of his friends or family come to visit, thefriends or family can access the media overlay for his home to use toaugment images or video generated by their own personal computingdevices. For example, the friends or family may wish to send a messageto one or more other users indicating that they are hanging out in“Zach's house.” The message may comprise an image or video augmented bythe first user's (Zach's) home media overlay.

In one example, the first user accesses the messaging application viathe first computing device to choose to create a home media overlay(e.g., filter). For example, the first computing device provides anddisplays one or more graphical user interfaces to allow the first userto create a home media overlay, as shown in FIG. 6 . FIG. 6 illustratesan example graphical user interface (GUI) 600 displayed on a computingdevice that allows a user to create a media overlay via a “create homemedia overlay” button 602.

Upon selection of the button 602, the first user accesses furtherfunctionality related to creating a home media overlay, as shown in FIG.7 . FIG. 7 illustrates several GUIs 702-706 that can be provided to anddisplayed by a computing device to access functionality related tocreating a home media overlay. For example, GUI 702 allows a user togenerate a home media overlay, GUI 704 allows the user to share the homemedia overlay with friends, and GUI 706 allows the user to change themedia overlay and related settings.

Upon selection in the GUI 702 to create a home media overlay, thecomputing device displays a plurality of templates for the user tochoose from to start creating the home media overlay, or an option tostart creating the home media overlay from scratch. FIG. 8 illustratesan example GUI 800 that can be provided to and displayed by a computingdevice to allow a user to select a template from a plurality oftemplates 804-808 or to select an option 802 to start from scratch tocreate a home media overlay. If the user chooses one of the templates804-808, the computing device (or server system) receives the selectionof the one template of the plurality of templates and causes display ofthe one template and optionally creative tools for editing the onetemplate.

FIG. 9 illustrates an example GUI 900 that can be provided and displayedby a computing device to allow a user to create the home media overlay.For example, the GUI 900 shows the home media overlay portion 902 (whichmay comprise a template in one example), and an example background image904 to illustrate how the home media overlay will appear when augmentingan image (or video). The GUI 900 also comprises a set of creative tools906 for creating the media overlay. In one example creative toolsinclude a text tool to add or edit text in the media overlay, an erasertool to erase or remove portions of the media overlay, a sticker tool toadd one or more stickers to the media overlay, a color tool to changethe color scheme of the media overlay, a bitmoji or avatar tool tocreate or add a bitmoji or avatar to the media overlay, and so forth.

Once a user has finished creating the home media overlay, he can saveand publish the media overlay. The computing device sends the mediacontent for the media overlay to the server system. As explained above,the media content may comprise a creative with graphics related to thehome of the first user, a bitmoji or avatar corresponding to the user, abitmoji or avatar corresponding to another user currently located in thehome of the first user, a graphic corresponding to a pet of the firstuser, and so forth. In one example, the media content comprises thetemplate with any edits made using the creative tools.

The server system receives the media content from the computing device(e.g., as part of a request to generate a media overlay corresponding tothe home of the first user as explained above) and generates the mediaoverlay corresponding to the home of the first user using the receivedmedia content, as shown in operation 504 of FIG. 5 . In one example, theserver system flattens layers of the media overlay into a single imagefile and stores in one or more datastores (e.g., database(s) 120) forserving or providing to clients (e.g., client devices 110). For example,a user may have chosen a template and added one or more stickers andtext to the template. The client device 110 sends the identifiers forthe graphics (e.g., template identifier, stickers identifiers, etc.),the location of the stickers on the template, the style of text, and soforth, to the server system. The server system takes all of thatinformation and renders a single image out of everything collapsedtogether. In one example, the rendering or flattening into a singleimage is performed by the client device 110 and the client device 110sends the flattened or rendered image to the server system to be storedand served from the server system.

In operation 506, the server system determines a location of the home ofthe first user. In one example, the server system determines thelocation of the home of the first user based on location informationcorresponding to the first computing device. For example, the serversystem may receive location information (e.g., geographic coordinatesdetermined via global positioning system (GPS) or similar technology)from the first computing device (e.g., as part of or separately from therequest to generate the media overlay). The location of the home is usedto trigger access to the home media overlay when an authorized user isin or around the location of the home.

In another example, the server system determines the location of thehome of the first user based on location data indicating a most commonlocation of the user (e.g., of the computing device of the user)overnight or during other times of the day when people are typically athome. The server system can cause this location to display to the userfor selection of the location of the home by the user.

In one example, a confidence score can be assigned to a location chosenby a user for his home based on location data indicating that thelocation chosen is actually the user's home. Data indicating that thelocation chosen is actually the user's home may include hours a dayspent in the chosen location, times of day spent in the chosen location(e.g., overnight), mapping data, and so forth. For example, if a userdoes not spend a threshold number of nights in the chosen location, theconfidence score may be lower than if a user spends at least thethreshold number of nights in the chosen location.

The confidence score can be used in various scenarios. For example, if asecond user reports abuse indicating that the location is actually asecond user's home (and not the first user's home), the server systemcan determine the need to escalate such a report. In another example,the confidence score can be used in other functionality in the messagingto determine whether to automatically populate home address or locationdetails for the user.

FIG. 10 illustrates an example GUI 1000 where a user can set thelocation for his home media overlay. In one example, the computingdevice automatically detects the location of the user based on GPS orsimilar technology and displays an indicator 1002 of the user's (e.g.,computing device's) current location (or based on location data asexplained above). This location can be used by the user to set as thehome location, or the user can move the indicator 1002 to a differentlocation (or move the map below the indicator until the indicator isdisplayed in the correct location), or search for a different locationusing the search box 1004. The user can save the location by, forexample, selecting the continue button 1006

In one example, the location for the home of the user may only bechanged after a specified time period (e.g., 15 days, 30 days, 2months). For example, the specified time period may be 30 days and a GUI1100 as shown in FIG. 11 may be displayed to the user to alert the userof the specified time period. If the user attempts to change thelocation of his home before the specified time period has passed, amessage such as the one shown in the GUI 1200 of FIG. 12 is displayed tothe user. The amount of days remaining until the home location can beupdated can be calculated based on the last change date. For example, ifthe last time the home location was changed was on March 1, the locationcannot be updated until March 30.

Returning to FIG. 5 , in operation 508, the server system receives aselection of users to grant permission to access the media overlaycorresponding to the home of the first user. In one example, theselection of users to grant permission to access the media overlaycomprises users with a bi-directional connection with the first user ina social networking system.

FIG. 13 illustrates an example GUI 1300 for home media overlay settings.In the GUI 1300, a thumbnail 1302 of the home media overlay that hasbeen created by the user is displayed. A user may select the thumbnailto edit or change the home media overlay. The location 1304 for the homemedia overlay is also displayed in the GUI 1300. The user may select thelocation 1304 to change the location for the home media overlay. The GUI1300 further allows an option 1308 for the user to enable his home mediaoverlay. The user can also choose who can access the user's home mediaoverlay by selecting one or more options 1306. The user selection of oneor more of the options 1306 indicates the selection of users to grantpermission to access the media overlay. As explained above, in oneexample this may only include users with a bi-directional connectionwith the user in a social networking system (e.g., where the user andthe other user have each designated each other as friends).

In the example shown in FIG. 13 , the user can select “My Friends” toselect all friends of the user. In this example, the user can alsoselect “My Friends, Except . . . ” which will allow the user to generatea list of friends that will not be allowed access to the home mediaoverlay (e.g., a blacklist). The user can also select “Only Me” to makethe home media overlay private so that no one else but the user canaccess or use the home media overlay. The user can also choose specificfriends (e.g., “Only These Friends . . . ”) which will allow the user toselect specific friends, as shown in the GUI 1400 of FIG. 14 . Once theuser has selected the users to whom to grant permission to access themedia overlay corresponding to the home of the first user, the computingdevice receives the selection and sends the selection to the serversystem.

In another example, the server system uses a default selection of userswith a bi-directional connection with the first user in a socialnetworking system. In this example, the user does not need to make anyselection, the server system will automatically determine users to whomto grant permission to access the media overlay corresponding to thehome of the first user based on those users having a bi-directionalconnection with the first user in a social networking system. The serversystem will associate the users having a bi-directional connection withthe first user in a social networking system with the media overlay andstore the association with the media overlay (e.g., as triggers for themedia overlay as described below).

Returning to FIG. 5 , in operation 510, the server system associates thelocation of the home of the first user and the selection of the users togrant permission to access the media overlay corresponding to the homeof the first user, with the media overlay. In operation 512, the serversystem stores the media overlay and associated location of the home ofthe first user and the selection of users (e.g., in one or moredatabases 120). For example, the location of the home of the first userand the selection of users are stored as triggers for when the mediaoverlay can be accessed or made available to a computing device (e.g.,when a selected user is located in the home of the first user). Once themedia overlay is enabled, the media overlay can be provided to acomputing device when the location of the computing device and the userassociated with the computing device match the triggers for the mediaoverlay.

FIG. 15 is a flow chart illustrating aspects of a method 1500, for acustom media overlay system, according to some example embodiments. Forillustrative purposes, the method 1500 is described with respect to thenetworked system 100 of FIG. 1 . It is to be understood that the method1500 may be practiced with other system configurations in otherembodiments.

In operation 1502, a server system (e.g., server system 108, applicationserver 112, media content processing system 118, etc.) receives locationinformation corresponding to a location of a second computing device.For example, a second user may be visiting the home of the first userand be using the second computing device. The second computing devicedetermines the location (e.g., via GPS or other technology) and sendsthe location information to the server system.

In operation 1504, the server system determines the second usercorresponding to the second computing device. For example, the secondcomputing device may send a user name or other information identifyingthe user (e.g., via computing device identifier, login information,etc.). The server system receives the information identifying the userto determine the second user.

In operation 1506, the server system determines whether the second userand the location information corresponding to the second computingdevice trigger access to the media overlay corresponding to the home ofthe first user. For example, the server system determines whether thelocation information matches the location of the home of the first user.For example, the server system determines whether the locationinformation matches an address of the home of the first user or thelocation information falls within a predefined radius of the location ofthe home of the first user (e.g., a 10 meter radius, a 50 meter radius,etc.). The server system determines whether the second user (e.g., nameor unique identifier of the second user) matches one of the users in theselection of users to grant permission to access the media overlaycorresponding to the home of the user. If the second user and thelocation information do not trigger the media overlay (e.g., the seconduser does not match a user in the selection of users and the locationinformation does not fall within the location of the home of the firstuser) the method 1500 ends at operation 610. If the second user and thelocation information do trigger the media overlay (e.g., the second userdoes match a user in the selection of users and the location informationdoes fall within the location of the home of the first user), the method1500 continues to operation 1508.

In operation 1508, the server system provides the media overlaycorresponding to the home of the first users to the second computingdevice, based on determining that the second user and locationinformation corresponding to the second computing device trigger accessto the media overlay. For example, the server system retrieves thestored media overlay and sends the media overlay to the second computingdevice. The second computing device receives the media overlay anddisplays the media overlay or an option to select the media overlay in aGUI on the second computing device.

In one example, the computing device or server system detects when aselected user is near the first user's home (e.g., within a predefineddistance, such as a hundred meters, a few hundred meters, etc.) and canpre-load (e.g., download) the home media overlay for the first user'shome on the selected user's computing device in advance so that it isavailable when the selected user arrives to the first user's home.

The media overlay provided to the second computing device is used toaugment an image or video captured by the second computing device. Forexample, the second user may be using a camera of the second computingdevice to capture an image (e.g., photograph) or video on the secondcomputing device. The second user selects the media overlay provided bythe server system. The second computing device receives the selection ofthe media overlay and displays the media overlay on top of the image orvideo being captured or captured by the camera of the computing device.The second user can then send the image or video augmented by the mediaoverlay to another user. FIG. 16 illustrates an example GUI 1600 with animage 1602 augmented by the media overlay 1604.

The second computing device sends the image or video augmented by themedia overlay to the server system. The server system receives the imageor video augmented by the media overlay and sends the image or videoaugmented by the media overlay (e.g., as a message) to at least a thirdcomputing device. In this way authorized users located in the firstuser's home can access and use the media overlay corresponding to thehome of the first user.

In one example, a media overlay corresponding to the home of a user canbe automatically updated based on context related to the user or thelocation of the home of the user. The context may correspond to a timeof day, a time of year, weather conditions for the home location,behaviors or activities of the user, presence of other users in thehome, events in the home, and so forth. For example, the stored mediaoverlay may be in the context of daytime in the summer with only theuser represented in the media overlay (e.g., as a bitmoji or avatar). Inone example the server system detects a change from a first context to asecond context. For example, the server system may determine that it isnow nighttime instead of day time. The server system may automaticallyrevise the media overlay to reflect that it is nighttime at the locationof the user's home. For example, the media overlay could be revised toshow stars or a moon, or that lights are on in the home. In anotherexample, the media overlay could be revised to show the user's avatar inpajamas. The server system stores the revised media overlay and providesthe revised media overlay to a computing device of a selected user whena selected user is in the user's home, as described above. In oneexample, the context corresponds to an activity corresponding to thefirst user (e.g., waking up, eating breakfast, getting ready for schoolor work, eating lunch, eating dinner, going to bed, etc.), weatherconditions for the location of the home of the first user (e.g., sun,snow, wind, rain, clouds, etc.), an event (e.g., party or game night), anumber of users located in the home (e.g., an avatar to represent abrother, friend, mother, daughter, etc.), and so forth. In this way thehome overlay can be automatically updated based on context correspondingto the user or home.

In one example, the computing system allows users to flag or report amedia overlay corresponding to a user's home for inappropriate content.For example, a user can report that the media overlay contains nudity orsexual content; harassment or hate speech; threatening, violent, orconcerning content; content indicating the user is someone other thanhis/herself; or other reasons.

FIG. 17 is a block diagram 1700 illustrating a software architecture1702, which can be installed on any one or more of the devices describedabove. For example, in various embodiments, client devices 110, serversystems 102, 112, 116, 118, 122, and 124 may be implemented using someor all of the elements of the software architecture 1702. FIG. 17 ismerely a non-limiting example of a software architecture, and it will beappreciated that many other architectures can be implemented tofacilitate the functionality described herein. In various embodiments,the software architecture 1702 is implemented by hardware such as amachine 1800 of FIG. 18 that includes processors 1810, memory 1830, andI/O components 1850. In this example, the software architecture 1702 canbe conceptualized as a stack of layers where each layer may provide aparticular functionality. For example, the software architecture 1702includes layers such as an operating system 1704, libraries 1706,frameworks 1708, and applications 1710. Operationally, the applications1710 invoke API calls 1712 through the software stack and receivemessages 1714 in response to the API calls 1712, consistent with someembodiments.

In various implementations, the operating system 1704 manages hardwareresources and provides common services. The operating system 1704includes, for example, a kernel 1720, services 1722, and drivers 1724.The kernel 1720 acts as an abstraction layer between the hardware andthe other software layers, consistent with some embodiments. Forexample, the kernel 1720 provides memory management, processormanagement (e.g., scheduling), component management, networking, andsecurity settings, among other functionality. The services 1722 canprovide other common services for the other software layers. The drivers1724 are responsible for controlling or interfacing with the underlyinghardware, according to some embodiments. For instance, the drivers 1724can include display drivers, camera drivers, BLUETOOTH® or BLUETOOTH®Low Energy drivers, flash memory drivers, serial communication drivers(e.g., Universal Serial Bus (USB) drivers), WI-FI® drivers, audiodrivers, power management drivers, and so forth.

In some embodiments, the libraries 1706 provide a low-level commoninfrastructure utilized by the applications 1710. The libraries 1706 caninclude system libraries 1730 (e.g., C standard library) that canprovide functions such as memory allocation functions, stringmanipulation functions, mathematic functions, and the like. In addition,the libraries 1706 can include API libraries 1732 such as medialibraries (e.g., libraries to support presentation and manipulation ofvarious media formats such as Moving Picture Experts Group-4 (MPEG4),Advanced Video Coding (H.264 or AVC), Moving Picture Experts GroupLayer-3 (MP3), Advanced Audio Coding (AAC), Adaptive Multi-Rate (AMR)audio codec, Joint Photographic Experts Group (JPEG or JPG), or PortableNetwork Graphics (PNG)), graphics libraries (e.g., an OpenGL frameworkused to render two-dimensional (2D) and three-dimensional (3D) graphiccontent on a display), database libraries (e.g., SQLite to providevarious relational database functions), web libraries (e.g., WebKit toprovide web browsing functionality), and the like. The libraries 1706can also include a wide variety of other libraries 1734 to provide manyother APIs to the applications 1710.

The frameworks 1708 provide a high-level common infrastructure that canbe utilized by the applications 1710, according to some embodiments. Forexample, the frameworks 1708 provide various graphic user interface(GUI) functions, high-level resource management, high-level locationservices, and so forth. The frameworks 1708 can provide a broad spectrumof other APIs that can be utilized by the applications 1710, some ofwhich may be specific to a particular operating system 1704 or platform.

In an example embodiment, the applications 1710 include a homeapplication 1750, a contacts application 1752, a browser application1754, a book reader application 1756, a location application 1758, amedia application 1760, a messaging application 1762, a game application1764, and a broad assortment of other applications such as a third-partyapplication 1766. According to some embodiments, the applications 1710are programs that execute functions defined in the programs. Variousprogramming languages can be employed to create one or more of theapplications 1710, structured in a variety of manners, such asobject-oriented programming languages (e.g., Objective-C, Java, or C++)or procedural programming languages (e.g., C or assembly language). In aspecific example, the third-party application 1766 (e.g., an applicationdeveloped using the ANDROID™ or IOS™ software development kit (SDK) byan entity other than the vendor of the particular platform) may bemobile software running on a mobile operating system such as IOS™,ANDROID™, WINDOWS® Phone, or another mobile operating system. In thisexample, the third-party application 1766 can invoke the API calls 1712provided by the operating system 1704 to facilitate functionalitydescribed herein.

Some embodiments may particularly include a media overlay application1767. In certain embodiments, this may be a standalone application thatoperates to manage communications with a server system, such asthird-party servers or the server system 108. In other embodiments, thisfunctionality may be integrated with another application (e.g., themessaging application 1762). The media overlay application 1767 mayrequest and display various data related to messaging, media content,media collections, media overlays, mapping, chance mode, and so forth,and may provide the capability for a user to input data related to thesystem via a touch interface, via a keyboard, or using a camera deviceof the machine 1800, communication with a server system via the I/Ocomponents 1850, and receipt and storage of object data in the memory1830. Presentation of information and user inputs associated with theinformation may be managed by the media overlay application 1767 usingdifferent frameworks 1708, library 1706 elements, or operating system1704 elements operating on the machine 1800.

FIG. 18 is a block diagram illustrating components of a machine 1800,according to some embodiments, able to read instructions from amachine-readable medium (e.g., a machine-readable storage medium) andperform any one or more of the methodologies discussed herein.Specifically, FIG. 18 shows a diagrammatic representation of the machine1800 in the example form of a computer system, within which instructions1816 (e.g., software, a program, an application, an applet, an app, orother executable code) for causing the machine 1800 to perform any oneor more of the methodologies discussed herein can be executed. Inalternative embodiments, the machine 1800 operates as a standalonedevice or can be coupled (e.g., networked) to other machines. In anetworked deployment, the machine 1800 may operate in the capacity of aserver machine 102, 112, 116, 118, 122, 124, and the like, or a clientdevice 110 in a server-client network environment, or as a peer machinein a peer-to-peer (or distributed) network environment. The machine 1800can comprise, but not be limited to, a server computer, a clientcomputer, a personal computer (PC), a tablet computer, a laptopcomputer, a netbook, a personal digital assistant (PDA), anentertainment media system, a cellular telephone, a smart phone, amobile device, a wearable device (e.g., a smart watch), a smart homedevice (e.g., a smart appliance), other smart devices, a web appliance,a network router, a network switch, a network bridge, or any machinecapable of executing the instructions 1816, sequentially or otherwise,that specify actions to be taken by the machine 1800. Further, whileonly a single machine 1800 is illustrated, the term “machine” shall alsobe taken to include a collection of machines 1800 that individually orjointly execute the instructions 1816 to perform any one or more of themethodologies discussed herein.

In various embodiments, the machine 1800 comprises processors 1810,memory 1830, and I/O components 1850, which can be configured tocommunicate with each other via a bus 1802. In an example embodiment,the processors 1810 (e.g., a central processing unit (CPU), a reducedinstruction set computing (RISC) processor, a complex instruction setcomputing (CISC) processor, a graphics processing unit (GPU), a digitalsignal processor (DSP), an application specific integrated circuit(ASIC), a radio-frequency integrated circuit (RFIC), another processor,or any suitable combination thereof) include, for example, a processor1812 and a processor 1814 that may execute the instructions 1816. Theterm “processor” is intended to include multi-core processors 1810 thatmay comprise two or more independent processors 1812, 1814 (alsoreferred to as “cores”) that can execute instructions 1816contemporaneously. Although FIG. 18 shows multiple processors 1810, themachine 1800 may include a single processor 1810 with a single core, asingle processor 1810 with multiple cores (e.g., a multi-core processor1810), multiple processors 1812, 1814 with a single core, multipleprocessors 1812, 1814 with multiple cores, or any combination thereof.

The memory 1830 comprises a main memory 1832, a static memory 1834, anda storage unit 1836 accessible to the processors 1810 via the bus 1802,according to some embodiments. The storage unit 1836 can include amachine-readable medium 1818 on which are stored the instructions 1816embodying any one or more of the methodologies or functions describedherein. The instructions 1816 can also reside, completely or at leastpartially, within the main memory 1832, within the static memory 1834,within at least one of the processors 1810 (e.g., within the processor'scache memory), or any suitable combination thereof, during executionthereof by the machine 1800. Accordingly, in various embodiments, themain memory 1832, the static memory 1834, and the processors 1810 areconsidered machine-readable media 1818.

As used herein, the term “memory” refers to a machine-readable medium1818 able to store data temporarily or permanently and may be taken toinclude, but not be limited to, random-access memory (RAM), read-onlymemory (ROM), buffer memory, flash memory, and cache memory. While themachine-readable medium 1818 is shown, in an example embodiment, to be asingle medium, the term “machine-readable medium” should be taken toinclude a single medium or multiple media (e.g., a centralized ordistributed database, or associated caches and servers) able to storethe instructions 1816. The term “machine-readable medium” shall also betaken to include any medium, or combination of multiple media, that iscapable of storing instructions (e.g., instructions 1816) for executionby a machine (e.g., machine 1800), such that the instructions 1816, whenexecuted by one or more processors of the machine 1800 (e.g., processors1810), cause the machine 1800 to perform any one or more of themethodologies described herein. Accordingly, a “machine-readable medium”refers to a single storage apparatus or device, as well as “cloud-based”storage systems or storage networks that include multiple storageapparatus or devices. The term “machine-readable medium” shallaccordingly be taken to include, but not be limited to, one or more datarepositories in the form of a solid-state memory (e.g., flash memory),an optical medium, a magnetic medium, other non-volatile memory (e.g.,erasable programmable read-only memory (EPROM)), or any suitablecombination thereof. The term “machine-readable medium” specificallyexcludes non-statutory signals per se.

The I/O components 1850 include a wide variety of components to receiveinput, provide output, produce output, transmit information, exchangeinformation, capture measurements, and so on. In general, it will beappreciated that the I/O components 1850 can include many othercomponents that are not shown in FIG. 18 . The I/O components 1850 aregrouped according to functionality merely for simplifying the followingdiscussion, and the grouping is in no way limiting. In various exampleembodiments, the I/O components 1850 include output components 1852 andinput components 1854. The output components 1852 include visualcomponents (e.g., a display such as a plasma display panel (PDP), alight emitting diode (LED) display, a liquid crystal display (LCD), aprojector, or a cathode ray tube (CRT)), acoustic components (e.g.,speakers), haptic components (e.g., a vibratory motor), other signalgenerators, and so forth. The input components 1854 include alphanumericinput components (e.g., a keyboard, a touch screen configured to receivealphanumeric input, a photo-optical keyboard, or other alphanumericinput components), point-based input components (e.g., a mouse, atouchpad, a trackball, a joystick, a motion sensor, or other pointinginstruments), tactile input components (e.g., a physical button, a touchscreen that provides location and force of touches or touch gestures, orother tactile input components), audio input components (e.g., amicrophone), and the like.

In some further example embodiments, the I/O components 1850 includebiometric components 1856, motion components 1858, environmentalcomponents 1860, or position components 1862, among a wide array ofother components. For example, the biometric components 1856 includecomponents to detect expressions (e.g., hand expressions, facialexpressions, vocal expressions, body gestures, or eye tracking), measurebiosignals (e.g., blood pressure, heart rate, body temperature,perspiration, or brain waves), identify a person (e.g., voiceidentification, retinal identification, facial identification,fingerprint identification, or electroencephalogram basedidentification), and the like. The motion components 1858 includeacceleration sensor components (e.g., accelerometer), gravitation sensorcomponents, rotation sensor components (e.g., gyroscope), and so forth.The environmental components 1860 include, for example, illuminationsensor components (e.g., photometer), temperature sensor components(e.g., one or more thermometers that detect ambient temperature),humidity sensor components, pressure sensor components (e.g.,barometer), acoustic sensor components (e.g., one or more microphonesthat detect background noise), proximity sensor components (e.g.,infrared sensors that detect nearby objects), gas sensor components(e.g., machine olfaction detection sensors, gas detection sensors todetect concentrations of hazardous gases for safety or to measurepollutants in the atmosphere), or other components that may provideindications, measurements, or signals corresponding to a surroundingphysical environment. The position components 1862 include locationsensor components (e.g., a Global Positioning System (GPS) receivercomponent), altitude sensor components (e.g., altimeters or barometersthat detect air pressure from which altitude may be derived),orientation sensor components (e.g., magnetometers), and the like.

Communication can be implemented using a wide variety of technologies.The I/O components 1850 may include communication components 1864operable to couple the machine 1800 to a network 1880 or devices 1870via a coupling 1882 and a coupling 1872, respectively. For example, thecommunication components 1864 include a network interface component oranother suitable device to interface with the network 1880. In furtherexamples, communication components 1864 include wired communicationcomponents, wireless communication components, cellular communicationcomponents, near field communication (NFC) components, BLUETOOTH®components (e.g., BLUETOOTH® Low Energy), WI-FI® components, and othercommunication components to provide communication via other modalities.The devices 1870 may be another machine 1800 or any of a wide variety ofperipheral devices (e.g., a peripheral device coupled via a UniversalSerial Bus (USB)).

Moreover, in some embodiments, the communication components 1864 detectidentifiers or include components operable to detect identifiers. Forexample, the communication components 1864 include radio frequencyidentification (RFID) tag reader components, NFC smart tag detectioncomponents, optical reader components (e.g., an optical sensor to detectone-dimensional bar codes such as a Universal Product Code (UPC) barcode, multi-dimensional bar codes such as a Quick Response (QR) code,Aztec Code, Data Matrix, Dataglyph, MaxiCode, PDF417, Ultra Code,Uniform Commercial Code Reduced Space Symbology (UCC RSS)-2D bar codes,and other optical codes), acoustic detection components (e.g.,microphones to identify tagged audio signals), or any suitablecombination thereof. In addition, a variety of information can bederived via the communication components 1864, such as location viaInternet Protocol (IP) geolocation, location via WI-FI® signaltriangulation, location via detecting a BLUETOOTH® or NFC beacon signalthat may indicate a particular location, and so forth.

In various example embodiments, one or more portions of the network 1880can be an ad hoc network, an intranet, an extranet, a virtual privatenetwork (VPN), a local area network (LAN), a wireless LAN (WLAN), a widearea network (WAN), a wireless WAN (WWAN), a metropolitan area network(MAN), the Internet, a portion of the Internet, a portion of the publicswitched telephone network (PSTN), a plain old telephone service (POTS)network, a cellular telephone network, a wireless network, a WI-FI®network, another type of network, or a combination of two or more suchnetworks. For example, the network 1880 or a portion of the network 1880may include a wireless or cellular network, and the coupling 1882 may bea Code Division Multiple Access (CDMA) connection, a Global System forMobile communications (GSM) connection, or another type of cellular orwireless coupling. In this example, the coupling 1882 can implement anyof a variety of types of data transfer technology, such as SingleCarrier Radio Transmission Technology (1×RTT), Evolution-Data Optimized(EVDO) technology, General Packet Radio Service (GPRS) technology,Enhanced Data rates for GSM Evolution (EDGE) technology, thirdGeneration Partnership Project (3GPP) including 3G, fourth generationwireless (4G) networks, Universal Mobile Telecommunications System(UMTS), High Speed Packet Access (HSPA), Worldwide Interoperability forMicrowave Access (WiMAX), Long Term Evolution (LTE) standard, othersdefined by various standard-setting organizations, other long rangeprotocols, or other data transfer technology.

In example embodiments, the instructions 1816 are transmitted orreceived over the network 1880 using a transmission medium via a networkinterface device (e.g., a network interface component included in thecommunication components 1864) and utilizing any one of a number ofwell-known transfer protocols (e.g., Hypertext Transfer Protocol(HTTP)). Similarly, in other example embodiments, the instructions 1816are transmitted or received using a transmission medium via the coupling1872 (e.g., a peer-to-peer coupling) to the devices 1870. The term“transmission medium” shall be taken to include any intangible mediumthat is capable of storing, encoding, or carrying the instructions 1816for execution by the machine 1800, and includes digital or analogcommunications signals or other intangible media to facilitatecommunication of such software.

Furthermore, the machine-readable medium 1818 is non-transitory (inother words, not having any transitory signals) in that it does notembody a propagating signal. However, labeling the machine-readablemedium 1818 “non-transitory” should not be construed to mean that themedium is incapable of movement; the machine-readable medium 1818 shouldbe considered as being transportable from one physical location toanother. Additionally, since the machine-readable medium 1818 istangible, the machine-readable medium 1818 may be considered to be amachine-readable device.

Throughout this specification, plural instances may implementcomponents, operations, or structures described as a single instance.Although individual operations of one or more methods are illustratedand described as separate operations, one or more of the individualoperations may be performed concurrently, and nothing requires that theoperations be performed in the order illustrated. Structures andfunctionality presented as separate components in example configurationsmay be implemented as a combined structure or component. Similarly,structures and functionality presented as a single component may beimplemented as separate components. These and other variations,modifications, additions, and improvements fall within the scope of thesubject matter herein.

Although an overview of the inventive subject matter has been describedwith reference to specific example embodiments, various modificationsand changes may be made to these embodiments without departing from thebroader scope of embodiments of the present disclosure.

The embodiments illustrated herein are described in sufficient detail toenable those skilled in the art to practice the teachings disclosed.Other embodiments may be used and derived therefrom, such thatstructural and logical substitutions and changes may be made withoutdeparting from the scope of this disclosure. The Detailed Description,therefore, is not to be taken in a limiting sense, and the scope ofvarious embodiments is defined only by the appended claims, along withthe full range of equivalents to which such claims are entitled.

As used herein, the term “or” may be construed in either an inclusive orexclusive sense. Moreover, plural instances may be provided forresources, operations, or structures described herein as a singleinstance. Additionally, boundaries between various resources,operations, modules, engines, and data stores are somewhat arbitrary,and particular operations are illustrated in a context of specificillustrative configurations. Other allocations of functionality areenvisioned and may fall within a scope of various embodiments of thepresent disclosure. In general, structures and functionality presentedas separate resources in the example configurations may be implementedas a combined structure or resource. Similarly, structures andfunctionality presented as a single resource may be implemented asseparate resources. These and other variations, modifications,additions, and improvements fall within a scope of embodiments of thepresent disclosure as represented by the appended claims. Thespecification and drawings are, accordingly, to be regarded in anillustrative rather than a restrictive sense.

What is claimed is:
 1. A method comprising: receiving, by a serversystem, a selection of users to whom to grant permission to access amedia overlay corresponding to a home of a first user; determining, bythe server system, whether a second user and location informationcorresponding to a second computing device of the second user triggeraccess to the media overlay; and providing, by the server system, themedia overlay to the second computing device, based on determining thatthe second user and the location information corresponding to the secondcomputing device trigger access to the media overlay.
 2. The method ofclaim 1, wherein before receiving the selection of users to whom togrant permission to access the media overlay corresponding to the homeof the user, the method comprises: determining a location of the home ofthe first user; and setting the location of the home as a trigger foraccess to the media overlay.
 3. The method of claim 2, wherein thelocation of the home of the first user is determined based on locationdata indicating a most common location of the user during a specifiedtime of day, location information received from a computing device ofthe user, or a location chosen by the first user.
 4. The method of claim1, further comprising: receiving a location of the home of the firstuser provided by the first user; and assigning a confidence score to thelocation provided by the first user based on data indicating whether thelocation provided by the first user is the same as an actual location ofthe home of the first user.
 5. The method of claim 4, wherein theconfidence score is generated based on data indicating that the locationprovided by the first user is the same as the actual location of thehome of the first user, the data including hours spent in the providedlocation, times of day spent in the provided location, or mapping data.6. The method of claim 4, wherein a lower confidence score is assignedto the location provided by the first user based on determining that thefirst user does not spend a threshold number of nights in the locationprovided by the first user and a higher confidence score is assignedbased on determining that the user spends at least the threshold numberof nights in the location provided by the first user.
 7. The method ofclaim 6, further comprising: based on the confidence score,automatically populating a home address or location details used infunctionality in messaging with the location provided by the first user.8. The method of claim 1, wherein before providing the media overlay tothe second computing device, the method comprises: automaticallyupdating the media overlay based on a context relating to the user orlocation of the home of the first user; and providing the updated mediaoverlay to the second computing device.
 9. The method of claim 1,wherein the context comprises a time of day, a time of year, weatherconditions, behaviors or activities of the first user, presence of otherusers in the home of the first user, or an event in the home of thefirst user.
 10. The method of claim 1, wherein before receiving theselection of users to whom to grant permission to access the mediaoverlay corresponding to the home of the first user, the methodcomprises: providing a plurality of templates for creating the mediaoverlay; receiving a selection of one template of the plurality oftemplates; causing display of the one template and creative tools forediting the one template; receiving a request to generate the mediaoverlay corresponding to the home of the first user, the requestcomprising media content to be included in the media overlay, whereinthe media content to be included in the media overlay comprises the onetemplate comprising edits using the creative tools; and generating themedia overlay corresponding to the home of the first user using thereceived media content.
 11. The method of claim 10, wherein the mediacontent comprises at least one of a creative with graphics related tothe home of the first user, a bitmoji corresponding to the first user, abitmoji corresponding to another user located in the home of the firstuser, and a graphic corresponding to a pet of the first user.
 12. Themethod of claim 1, wherein the selection of users to whom to grantpermission to access the media overlay comprises users with abi-directional connection with the first user in a social networkingsystem.
 13. The method of claim 1, wherein the media overlay provided tothe second computing device is used to augment an image or videocaptured by the second computing device.
 14. The method of claim 13,further comprising: receiving, from the second computing device, theimage or video augmented by the media overlay; and sending the image orvideo augmented by the media overlay as a message to a third computingdevice.
 15. The method of claim 1, wherein the media overlay correspondsto a first context and the method further comprising: detecting a changefrom the first context to a second context; revising the media overlayto reflect the second context; storing the revised media overlay;receiving location information corresponding to a location of a thirdcomputing device; determining a third user corresponding to the thirdcomputing device; determining whether the third user and locationinformation corresponding to the third computing device trigger accessto the revised media overlay; and providing the revised media overlay tothe second computing device, based on determining that the third userand location information corresponding to the third computing devicetrigger access to the revised media overlay.
 16. The method of claim 15,wherein the first context or second context corresponds to an activitycorresponding to the first user, weather conditions for the location ofthe home of the first user, an event, or a number of users located inthe home of the first user.
 17. The method of claim 1, wherein alocation of the home of the user that is associated with the mediaoverlay can only be changed after a specified time period.
 18. A serversystem comprising: a memory that stores instructions; and one or moreprocessors configured by the instructions to perform operationscomprising: receiving a selection of users to whom to grant permissionto access a media overlay corresponding to a home of a first user;determining whether a second user and location information correspondingto a second computing device of the second user trigger access to themedia overlay; and providing the media overlay to the second computingdevice, based on determining that the second user and the locationinformation corresponding to the second computing device trigger accessto the media overlay.
 19. The server system of claim 18, wherein beforereceiving the selection of users to whom to grant permission to accessthe media overlay corresponding to the home of the user, the operationscomprise: determining a location of the home of the first user; andsetting the location of the home as a trigger for access to the mediaoverlay.
 20. A non-transitory computer-readable medium comprisinginstructions stored thereon that are executable by at least oneprocessor to cause a computing device to perform operations comprising:receiving a selection of users to whom to grant permission to access amedia overlay corresponding to a home of a first user; determiningwhether a second user and location information corresponding to a secondcomputing device of the second user trigger access to the media overlay;and providing the media overlay to the second computing device, based ondetermining that the second user and the location informationcorresponding to the second computing device trigger access to the mediaoverlay.